const get = function (name){
    return JSON.parse(localStorage.getItem(`dengtatimer-${name}`))
}
const set = function (name, data){
    let datas = JSON.stringify(data)
    localStorage.setItem(`dengtatimer-${name}`, datas)
}

export default {get,set};